﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template.master" AutoEventWireup="true" CodeFile="ChangePassword.aspx.cs" Inherits="ChangePassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div align="left">
        <h1>
            Change password forms<h1>
    </div>
    <hr />
    <div class="clear">
    </div>
    <table border="0" cellpadding="0" cellspacing="0">
        <tr>
            <th align="center" colspan="3">
                <asp:Label ID="lblMessage" runat="server" ForeColor="#CC0000"></asp:Label>
            </th>
        </tr>
        <tr>
            <th align="left">
                New password:
            </th>
            <td>
                <asp:TextBox ID="txtPassword" CssClass="inp-form" runat="server" 
                    TextMode="Password"></asp:TextBox>
            </td>
            <td>
                &nbsp;&nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Please fill in this field."
                    ControlToValidate="txtPassword" Display="Dynamic" SetFocusOnError="True"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <th align="left">
                New password confirm:
            </th>
            <td>
                <asp:TextBox ID="txtConPass" CssClass="inp-form" runat="server" 
                    TextMode="Password"></asp:TextBox>
            </td>
            <td>
                &nbsp;&nbsp;
                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtPassword"
                    ControlToValidate="txtConPass" Display="Dynamic" ErrorMessage="Password confirm invalid."
                    SetFocusOnError="True"></asp:CompareValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ErrorMessage="Please fill in this field."
                    ControlToValidate="txtConPass" Display="Dynamic" SetFocusOnError="True"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <th>
            </th>
            <td>
            <div class="clear_buttom"></div>
                <asp:Button ID="btnSubmit" runat="server" CssClass="form-submit" 
                    onclick="btnSubmit_Click" />
                <asp:Button ID="btnCancel" runat="server" CssClass="form_cancel" 
                    CausesValidation="False" PostBackUrl="~/Default.aspx" />
            </td>
            <td>
            </td>
        </tr>
    </table>
</asp:Content>

